System and method of detecting unwanted software

ABSTRACT

Disclosed are system and method for detecting one or more unwanted applications in a computing device. One exemplary method comprises: obtaining information relating to a first application installed on the computing device; detecting a first file associated with the first application; identifying a second file being related to the first file based at least upon selected conditions; identifying a second application installed on the computing device using at least one of the first and second files; determining a frequency of use for each of the first and second applications; and determining whether the first application is an unwanted application based on the frequency of use for each of the first and second applications.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims benefit of priority under 35 U.S.C. 119(a)-(d)to a Russian Application No. 2016119520 filed on May 20, 2016, which isincorporated by reference herein.

FIELD OF TECHNOLOGY

The present application relates generally to antivirus technologies,and, more specifically, to systems and methods of detecting unwantedsoftware on a computing device.

BACKGROUND

Due to the increase in computing power of modern computers, thecomplexity of software (a computer program or simply a program) used oncomputers has also increased significantly. Most often, modern softwarecontains not only the executable file of the main program, but also alarge number of files of auxiliary utilities, data libraries, andresources (such as icons, multimedia data), and so forth.

For proper installation of modern software on users' computers, specialinstallation programs may be used, which provide the fine tuning of thesoftware being installed, the adjustment of its interworking with otherprograms and underlying operating system, and installation of additionalutilities.

Oftentimes in the course of installing the programs needed by the user,additional programs often not needed by the user are also installed onthe user's computer (such as an antivirus, even though one has alreadybeen installed on the user's computer, or for example a browsersupplement tracking the status of email services which the user hasnever used, and so forth).

Besides useful but unneeded programs, some installer programs mayinstall so-called “unwanted software”, as well as software presenting apotential (riskware) or actual (malware) danger.

It should be noted that, due to the development of computer networks ingeneral and the Internet in particular, certain programs are downloadedfrom a computer network immediately prior to installation or anindividual installer is formulated for each user at the server end. Suchinstallers may include programs that the user has selected on a sitedistributing computer applications, which once again leads to theabove-described problems—many programs not needed by the user areinstalled on the user's computer, among which there may be potentiallydangerous or even harmful ones.

The difficulty of detecting the installation of unwanted software liesin the fact that many installer programs install the above-describedprograms with the consent of the user. The user is often unaware what heis installing and for what purpose. For example, certain installerprograms may present the user with written terms of installation ofadditional programs such that he often selects an option involving aninstallation without real need to install them.

In detecting unwanted software, standard methods of dealing withmalicious programs may be used, namely, detection with, e.g., the use ofsignature or heuristic methods and then removal of the unwantedsoftware.

The known technologies for detection are used to detect malicioussoftware, as well as software presenting a potential threat, but areoften unable to detect unwanted software installed on a user's computer.

The present invention solves the problem of detecting unwanted software.

SUMMARY

The invention is directed to, among other features, antivirus scanningof applications and detecting unwanted software on a user's computer orcomputing device.

The technical result of the present invention comprises detectingunwanted applications in a computer system via the disclosed system andmethod.

In one exemplary aspect, a computer system for detecting an unwantedapplication on a computing device, comprising: a collecting moduleconfigured to: obtain an application which has been installed in thecomputer system; detect at least one file making up the obtainedapplication; gather information on the relations of the detected filewith at least one other file residing in the same computer system as thedetected file, wherein two files are related if at least two of theconditions are fulfilled: the files were created by the sameapplication, the files were loaded onto the computer from the samenetwork address; the interval of time between modifications of the filesis less than an established threshold value; the files have similar oridentical attributes; send the gathered information to a search module;the search module configured to: detect at least one applicationcontaining at least one found file, said application being installed inthe same computer system as the application obtained by the collectingmodule; send the information identifying the found application to ascanning module; the scanning module configured to: determine thefrequencies of use of the obtained application and the applicationidentified from the obtained information, where the frequency of use ofthe application characterizes the number of actions performed by theapplication in the computer system; detect the obtained application asbeing an unwanted application on the basis of a comparison of thefrequencies of use of the obtained application and the applicationidentified from the obtained information.

In another exemplary aspect, the threshold value of the interval of timebetween modifications of the files is at least: under 1 second; from 1second to 1 minute; from 1 minute to 10 minutes.

In yet another exemplary aspect, the interval of time between theinstallation in the computer system of a file making up the applicationbeing scanned and a file related to it is less than an establishedthreshold value, where the established threshold value is at least:under 1 second; from 1 second to 1 minute; from 1 minute to 10 minutes.

In another exemplary aspect, the application creating the files on thecomputer is the installer program.

In yet another exemplary aspect, the frequency of use of the applicationis at least: the frequency of running the application from the moment ofits installation in the computer system and up to the moment ofobtaining the application; the frequency of calling API functions of theoperating system by the application during its running on the computersystem; the frequency of modification of the files making up theapplication from the moment of their creation in the computer system tothe moment of obtaining the application; the frequency of actions beingperformed with the use of interface elements of the application, fortransmittal of data to said application.

In another exemplary aspect, a computer-implemented method of detectingone or more unwanted applications installed on a computing devicecomprises: obtaining, via a processor of the computing device,information relating to a first application installed on the computingdevice; detecting a first file associated with the first application;identifying a second file installed on the computing deive and relatedto the first file based at least upon selected conditions; identifying asecond application installed on the computing device using at least oneof the first and second files; determining a frequency of use for eachof the first and second applications; and determining whether the firstapplication is an unwanted application based on the frequency of use foreach of the first and second applications.

In another exemplary aspect, a system for detecting one or more unwantedapplications installed on a computing device comprises: at least oneprocessor configured to: obtain information relating to a firstapplication installed on the computing device; detect a first fileassociated with the first application; identify a second file beingrelated to the first file based at least upon selected conditions;identify a second application installed on the computing device using atleast one of the first and second files; determine a frequency of usefor each of the first and second applications; and determine whether thefirst application is an unwanted application based on the frequency ofuse for each of the first and second applications.

The above simplified summary of example aspects serves to provide abasic understanding of the present disclosure. This summary is not anextensive overview of all contemplated aspects, and is intended toneither identify key or critical elements of all aspects nor delineatethe scope of any or all aspects of the present disclosure. Its solepurpose is to present one or more aspects in a simplified form as aprelude to the more detailed description of the disclosure that follows.To the accomplishment of the foregoing, the one or more aspects of thepresent disclosure include the features described and exemplary pointedout in the claims.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a structural diagram of an example system fordetecting unwanted software on a computing device according to aspectsof the invention.

FIG. 2 illustrates a structural diagram of an example method fordetecting unwanted software on a computing device according to aspectsof the invention.

FIG. 3 illustrates a structural diagram of the recreating of theinstalled package based on the installed files and applications on acomputing device according to aspects of the invention.

FIG. 4 illustrates an example of a computer system, a personal computer,or a server by means of which the disclosed aspects of systems andmethod may be implemented.

The accompanying drawings, which are incorporated into and constitute apart of this specification, illustrate one or more example aspects ofthe present disclosure and, together with the detailed description,serve to explain their principles and implementations.

DETAILED DESCRIPTION

Example aspects of the invention are described herein in the context ofa system, method and computer program product for detecting unwantedsoftware on a computing device. Those of ordinary skill in the art willrealize that the following description is illustrative only and is notintended to be in any way limiting. Other aspects will readily suggestthemselves to those skilled in the art having the benefit of thisdisclosure. Reference will now be made in detail to implementations ofthe example aspects as illustrated in the accompanying drawings. Thesame reference indicators will be used to the extent possible throughoutthe drawings and the following description to refer to the same or likeitems.

A number of definitions and concepts are introduced as follows fordescribing various aspects of the invention.

An unwanted application may refer to an application installed on acomputer or computing device without “conscious” participation of theuser, not performing obviously malicious actions, yet able to causeinconvenience to the user in the process of its running (by theintrusive demonstration of advertising materials, changing user settingsof underlying operating system and applications of the computer orcomputing device, for example, changing the start page of browsers, andso forth). “Conscious” participation of the user in the performing ofthe actions in the computer system may include an understanding of thenature of the actions being performed and the consequences which theseactions may entail.

An unwanted file may include a file making up an unwanted application.

A legitimate application may include an application which is notunwanted at the moment of performing an antivirus scan.

A legitimate file may include a file making up a legitimate application.

FIG. 1 illustrates an example of a structural diagram of a system fordetecting unwanted software on a computing device according to aspectsof the invention. The structural diagram of the system for detection ofunwanted software comprises a storage of files and applications 101, astorage of the user activity history 102, a collecting module 111, asearch module 112 and a scanning module 113.

The storage of files and applications 101 may be configured to:

-   -   store the applications which have been installed on the user's        computer;    -   store the files associated with the applications which have been        installed on the user's computer; and    -   present the applications and files to the collecting module 111.

The storage of the user activity history 102 may be configured to:

-   -   track, with the help of drivers (such as a computer mouse, a        keyboard, and so on), the actions of the user on the        applications which have been installed in the computer system;    -   store information on the tracked actions of the user; and    -   present the stored information to the scanning module 113.

For example, the user who is working with a graphic interface of aplug-in of the browser “AdBlock” may install certain parameters of theplug-in, for which he enters text data and manipulates elements of theinterface (pressing buttons, moving sliders, and so on). The storage ofthe user activity history 102 tracks, with the help of the drivers ofthe computer mouse and keyboard, the actions of the user on the“Adblock” plugin as described above, and saves the information on thetracked actions (the time of pressing a button, the text entered, thetime of working in the graphic interface, the identifiers of controlelements which were manipulated by the user, and so forth).

The collecting module 111 may be configured to:

-   -   obtain from the storage of files and applications 101 the        applications which have been installed in the computer system;    -   detect at least one file associated wtih the obtained        application;    -   gather information on the relations of the detected file with at        least one other file residing in the same computer system as the        detected file, the two files being related if at least two of        the following conditions are fulfilled:        -   the files were created by the same application,        -   the files were downloaded onto the user's computer from the            same network address;        -   the interval of time between modifications of files is less            than a selected threshold value;        -   the files have an identical file type (for example, file            types can be executable files.exe, libraries.dll, archives            .zip, video .avi and so forth);        -   one file may contain data for which the coefficient of            similarity with data contained in a second file is greater            than a selected threshold value;        -   the file attributes of different files match one another;        -   the paths to the location of the files may fall within the            range of values of the registry keys situated in the same            registry branch;        -   the interval of time between modifications of entries in the            registry containing information about the files is less than            an established threshold value.    -   and send the gathered information to the search module 112.

The files associated with an application may be detected:

-   -   by an analysis of the entries in the Windows registry indicating        the paths to the location of files related to the application;    -   as a result of searching for files located on the same paths as        the files responsible for the launching of the application.

The threshold value for the interval of time between modifications ofthe files may comprise at least:

-   -   under 1 second;    -   from 1 second to 1 minute; or    -   from 1 minute to 10 minutes.

The time interval between the installation in the computer system of thefile associated with the application being scanned and the file relatedto it is less than an established threshold value, where the establishedthreshold value is at least:

-   -   under 1 second;    -   from 1 second to 1 minute; or    -   from 1 minute to 10 minutes.

For example, files “illustrator.exe” and “Bridge.exe” may be associatedwith various applications—“Adobe Illustrator CS6” and “Adobe BridgeCS6”, both of which may belong to graphics package “Adobe CreativeSuite”. The files “illustrator.exe” and “Bridge.exe” may be created atpractically the same time: 10.11.2015 14:32:15.171 and 10.11.201514:32:16.025, respectively, i.e., with a difference of less than 1second, which means with a high degree of probability that theapplications “Adobe Illustrator CS6” and “Adobe Bridge CS6” wereinstalled at the same time. Thus, the files “illustrator.exe” and“Bridge.exe” may be determined to be related to each other.

The application creating the files on the computer may be an installerprogram.

For example, the files “word.exe” and “excel.exe”, which may be part ofthe applications “Microsoft Word 2013” and “Microsoft Excel 2013”,respectively, were created in the computer system as a result of theworking of the installation package “Microsoft Office 2013” (aninstallation program which began running with the launching of the file“office2013.msi”). Thus, the files “word.exe” and “excel.exe” may bedetermined to be related, at least because they were created in thecomputer system by the same application (the installation package“Microsoft Office 2013”).

Another example may be illustrated by files “flash21.0.0.197.dll”, whichis the driver of the application “Adobe Flash”, and “mcafee.exe”, whichis one of the files of the antivirus package “McAfee AntiVirus Plus.”Both files may be created in a computer system as a result of theworking of a browser, with the use of ActiveX when visiting the site“adobe.com”, the installation package having been formed dynamically onthe visited site in dependence on the options set by the user orspecified by default. Thus, the files “flash21.0.0.197.dll” and“mcafee.exe” may be determined to be related, at least because thosefiles were downloaded to the computer system from the same networkaddress.

The data contained in the files may be the resources of the files (suchas a description of the structure of the graphic interface elements,including dialog windows, media data, including images, video and audiorecordings, and so forth).

For example, JPEG and PNG images stored in file resources may beconsidered to be similar if they have a similar color content. Morespecifically, each pixel in an image may store color in RGB format, thecolor is then converted into a YUV representation. All the stored imagesmay be compared with one another for each channel Y, U and V of theimages, such that a histogram of the distribution of the colors amongall the pixel may be determined and formed. For each image, three256-dimensional vectors may be obtained to determine a numerical valueof a scalar product thereof. Such scalar product may indicate orcharacterize the degree of similarity of the images—the closer to 0, themore similar the images are.

Audio recordings stored in file resources may be considered to besimilar if they possess similar sound data. For example, each block ofan audio recording (an audio recording may include a set of soundblocks) stores information relating to the characteristics of sound(such as the frequency and duration) at a given moment of a soundcomposition, the set of selected characteristics (such as frequency) ofall blocks of the audio recording may have a N-dimensional vector. Anumerical value of a scalar product of two such vectors may beconstructed for two audio recordings to indicate or characterize thedegree of similarity of the audio recordings—the closer to 0, the moresimilar the audio recordings are.

For video recordings stored in the file resources, the similarity may bedetermined in a similar fashion to the above-described examples forimages and audio recordings, as a video recording may similarly includea set of frames and soundtracks.

The similarity between dialog windows may be determined by thesimilarity of data associated with various graphic elements of thedialog windows. For example, information relating to at least two dialogwindows may represent a set of characteristics of graphic elements ofthe dialog windows, which may be represented as a N-dimensional vector,where each metric is related to one of the characteristics of thegraphic elements of the dialog windows. A numerical value of a scalarproduct of two such vectors may be determined and constructed for twodialog windows to indicate or characterize the degree of similarity ofthe at least two dialog windows—the closer to 0, the more similar thedialog windows.

For example, all the files of the application “Microsoft Word” may berelated to the files of the application “Microsoft Excel”:

-   -   by the digital signature (one of the resources of the executable        files making up “Microsoft Word” and “Microsoft Excel”);    -   by the manufacturer of the software (Microsoft); or    -   by the common path of the installation in the file system        (“C:\Programs File\Microsoft Office 2013”).

The search module 112 may be configured to:

-   -   detect at least one application containing at least one file        found by the collecting module 111, the mentioned application        having been installed in the same computer system as the        application obtained by the collecting module 111; and    -   send the information identifying the detected application to the        scanning module 113;

The information identifying the detected application may contain atleast:

-   -   an identifier of each application (for example, the name of each        application, stored in the registry branch containing        information on the applications installed in the computer        system);    -   the paths to the files associated with each application; or    -   the rules for launching each application in the computer system        (for example, the start line, containing a path to the        executable file and the launch keys).

The scanning module 113 may be configured to:

-   -   determine the frequency of use of the application obtained by        the collecting module 111 and the application identified from        the information obtained by the search module 112, the frequency        of use of the application indicating the number of actions        performed by the application in the computer system; and    -   detect the application obtained by the collecting module 111 as        being an unwanted application based on a comparison of the        frequencies of use of the application obtained by the collecting        module 111 and the application identified from the information        obtained by the search module 112.

The frequency of use of applications may be:

-   -   the frequency of running the application from the moment of its        installation in the computer system until the moment of        performing the antivirus scan of the application;    -   the frequency of calling of application-programming interface        (API) functions of the operating system by the application        during its running on the computer system;    -   the frequency of modification of files associated with the        application from the moment of their creation in the computer        system until the moment of performing the antivirus scan of the        application; or    -   the frequency of actions carried out with use of interface        elements of the application for transmittal of data to the        application.

The comparison of the frequencies of use of the application obtained bythe collecting module 111 and the application identified by theinformation obtained by the search module 112 may be performed asfollows:

-   -   the frequency of use of each application, comprising one or more        of the frequencies described above, is represented in the form        of a multidimensional vector, the component of which represents        one of the frequencies constituting the frequencies of use of        the application, for example:

θ={θ₁,θ₂, . . . ,θ_(n)},

-   -   where    -   θ—frequency of use of the application,    -   θ₁—frequency of launching the application from the moment of its        installation in the computer system until the moment of        performing the antivirus scan of the application,    -   θ₂—frequency of calling of API functions of the operating system        by the application during its running on the computer system,    -   θ₃—frequency of modification of files associated with the        application from the moment of their creation in the computer        system until the moment of performing the antivirus scan of the        application,    -   θ₄—frequency of actions carried out with use of interface        elements of the application for transmittal of data to the        application.    -   a scalar product of two vectors may be calculated, where each        vector is a representation of the frequency of use of the        application, constructed by the method described in the        preceding point;

ω=

θ,

=θ₁×

₁+θ₂×

₂+ . . . +θ_(n)×

_(n),

-   -   where    -   θ—frequency of use of application #1,    -   —frequency of use of application #2,    -   the calculated value is compared with a selected threshold value        and in the event that the calculated value is greater than the        established threshold value, the application obtained by the        collecting module 111 may be determined as being unwanted.

For example, the frequency of use of the applications “Microsoft Word”and “AdBlock Plus”, installed with the aid of the custom assemblyinstallation package, may be a group of several characteristics at thesame time, namely:

for Microsoft Word:

-   -   the frequency of running the application (such as once a day);        or    -   the frequency of actions performed with the use of interface        elements of the application for the transmittal of data to the        application (such as once a second, in the event that the user        is typing text).

for AdBlock Plus:

-   -   the frequency of running the application (such as 10 times a        day);    -   the frequency of actions performed with the use of interface        elements of the application for the transmittal of data to the        application (such as 0.0000034 times a second, in the event that        the user is changing the application settings).

The result of the comparison of the obtained frequencies of use ofMicrosoft Word and AdBlock Plus may be a numerical value represented bya scalar product of vectors, namely:

ω=

θ,

=θ₁×

₁+θ₂×

₂,

where

-   -   ω—a result of comparison of the frequencies of use of Microsoft        Word θ and AdBlock Plus        ,    -   θ₁—frequency of running the Microsoft Word application,        frequency of running the AdBlock Plus application,    -   θ₂—frequency of actions performed with the use of interface        elements of the Microsoft Word application,    -   ₂—frequency of actions performed with the use of interface        elements of the AdBlock Plus application.

The frequency of use of the application may indicate not only howactively the application is being used, but also how often the user“consciously” uses the application. For example, if an applicationinstalled in a computer system has a graphic interface, but the userdoes not make use of it (i.e., does not work with the elements of thegraphic interface by means of keyboard, mouse, or another manipulator),then it may be affirmed with a high degree of probability that such anapplication is unwanted. In the event that such an application has beeninstalled from an installation package with other applications, it maybe affirmed that the mentioned application is unwanted. Thus, the sameapplication on different computers and for different users may bedetermined as both legitimate and unwanted.

The following illustrates an example system for detecting unwantedsoftware on a user's computer or computing device according to oneaspect of the invention.

In a computer system a search for unwanted applications may be commencedbased at least on an established security policy of regular performanceof an antivirus scan of the computer system. The collecting module 111,based at least on data provided by the storage of files and applications101 (specifically, data entered in registry branches containinginformation on the applications installed in the computer system), maydetect the application “Yandex Toolbar”, which is a plug-in forbrowsers. In the browser settings entered in the registry, an entrypertaining to “Yandex Toolbar” may be located and indicating a path to afile associated with the application “Yandex Toolbar” and performing thefunctionality of a plug-in for the browser “Google Chrome” (“C:\ProgramFiles\Google\Chrome\Plugins\ytbar.exe”).

Further, the search module 102 may gather information for the locatedfile “ytbar.exe” based on the relations of this file with other filesassociated with the computer system. For this purpose, the followingactions may be performed:

-   -   a search may be made for files with a time of creation different        from the time of creation of “ytbar.exe” by not more than one        minute; or    -   a search was made for files located in the same directory as        “ytbar.exe” (or in a directory of similar title, such as “ . . .        \Chrome\Plugins\ytbar.exe” and “ . . .        \Firefox\Plugins\ytbar2.exe”).

As a result, another several dozen files may be detected which appearedin the computer system at the same time as the file “ytbar.exe” beinginvestigated, or by similar paths. A determination may be made withrespect to which applications are associated with the detected files“Yandex Toolbar” and “K-Lite Codecs”.

After determining that the applications are related to each otherthrough the files included in their makeup, the scanning module 103 mayfurther determine the frequency of use of the detected applications.

For example, results may be obtained as follows:

#1 “K-Lite Codecs”, being a group of codecs and utilities for workingwith video and audio files (mainly coding and decoding).It may be determined that:

-   -   the files of the application “K-Lite Codecs” which are .dll        libraries were run 30 times a day;    -   the files of the application “K-Lite Codecs” which may comprise        executable .exe files of utilities for working with video and        audio files were run twice a day;    -   one of the files of the application “K-Lite Codecs”, a utility        (“GraphStudioNext64.exe”), may have a graphic interface        containing control elements, and the user interacted with the        control elements (pressing buttons, entering parameters) 15        times for every running of the file “GraphStudioNext64.exe”.

From the data obtained, it may be determined that the application“K-Lite Codecs” is actively working and being used regularly by theuser.

#2 “Yandex Toolbar”, being a plug-in for browsers, having a graphicinterface and providing the user with rapid access to various services,such as weather reports, email services, and so on.It may be determined that:

-   -   the files of the application “Yandex Toolbar” were being run 25        times a day (corresponding to the number of times the browser        was run);    -   in the graphic interface of the application “Yandex Toolbar” not        once were any actions performed with the use of the interface        elements of the application for transmittal of data to the        application.

From the data obtained, it may be determined that the application“Yandex Toolbar”:

-   -   was installed together with the application “K-Lite Codecs” from        the same installation package (K-Lite Codec Pack Mega); and    -   having been installed, it is not being used by the user.

Thus, it may be determined that the application “Yandex Toolbar” isunwanted and should be removed from the computer system.

FIG. 2 presents an example flow chart of a method 200 of detectingunwanted software on a user's computer or computing device according toaspects of the invention.

The method 200 of detecting unwanted software may include a step 201carried out by the collecting module 111, in which applications areobtained for performance of a scan, a step 202 carried out by thecollecting module 111 in which files associated with at least oneapplication being scanned may be detected, a step 203 carried out by thesearch module 112 in which a search may be performed for files relatedto the detected files, a step 204 carried out by the search module 112in which applications are determined, a step 205 carried out by thescanning module 113 in which the frequency of use of the applications isdetermined, and a step 206 carried out by the scanning module 113 inwhich the application being scanned may be determined to be an unwantedapplication.

In step 201, applications that are installed in the computer system maybe obtained from the storage of files and applications 101.

In step 202, files associated with at least one application beingscanned may be detected.

The files associated with the application may be detected:

-   -   by an analysis of the entries in the Windows registry indicating        paths to the locations of the files related to at least one of        the applications;    -   as a result of searching for files located on the same paths as        the files responsible for the launching of the at least one        application.

In step 203, a search may be performed in the computer system in whichthe files detected in step 202 may be located for files related to theaforementioned files, two files being related if at least two of thefollowing conditions are fulfilled:

-   -   the files were created by the same application,    -   the files were downloaded onto the computer from the same        network address;    -   the interval of time between modifications of files may be less        than an established threshold value;    -   the files may have an identical file type (for example, file        types can be executable files .exe, libraries .dll, archives        .zip, video .avi and so forth);    -   one file may contain data for which the coefficient of        similarity with data contained in a second file is greater than        a selected threshold value;    -   the file attributes are similar or identical for both files;    -   the paths to the location of the files may fall within the range        of values of the registry keys situated in the same registry        branch; and    -   the interval of time between modifications of entries in the        registry containing information on the files may be less than an        established threshold value.

The threshold value for the interval of time between modifications ofthe files may be at least:

-   -   under 1 second;    -   from 1 second to 1 minute; or    -   from 1 minute to 10 minutes.

The time interval between the installation in the computer system of thefile making up the application being scanned and the file related to itmay be less than a selected threshold value, where the selectedthreshold value may be at least:

-   -   under 1 second;    -   from 1 second to 1 minute; or    -   from 1 minute to 10 minutes.

The application creating the files on the computer may be aninstallation program (installer).

The data contained in the files may be the resources of the files (suchas a description of the structure of graphic interface elements,including dialog windows, media data, including images, video and audiorecordings, and so forth).

In step 204, at least one application may be detected containing atleast one file located and determined during step 203, the applicationhaving been installed in the same computer system as the applicationfound during step 201.

The information on the detected application may contain at least:

-   -   an identifier of each application (for example, the name of each        application, stored in the registry branch containing        information on the applications installed in the computer        system);    -   the paths to the files associated with each application; or    -   the rules for launching each application in the computer system        (for example, the start line, containing a path to the        executable file and the launch keys).

In step 205, a frequency of use may be determined for at least oneapplication obtained during step 201 and the application detected duringstep 204, the frequency of use of the application indicating the numberof previously established actions performed by the application in thecomputer system during a selected period of time.

The frequency of use of applications may be:

-   -   the frequency of running the application from the moment of its        installation in the computer system until the moment of        performing the antivirus scan of the application;    -   the frequency of calling of API functions of the operating        system by the application during its running on the computer        system;    -   the frequency of modification of files associated with the        application from the moment of their creation in the computer        system until the moment of performing the antivirus scan of the        application; or    -   the frequency of actions carried out with use of interface        elements of the application for transmittal of data to the        application.

In step 206, the application obtained during step 201 is discovered tobe an unwanted application based at least on a comparison of thefrequencies of use obtained in step 205 for the application obtained instep 201 and the application detected in step 204.

The comparison of the frequencies of use of the application obtained instep 201 and the application detected in step 204 may be performed asfollows:

-   -   the frequency of use of each application obtained in step 205        and comprising one or more of the frequencies described above,        may be represented in the form of a multidimensional vector, the        component of which may represent one of the frequencies        comprising the frequencies of use of the application, for        example:

θ={θ₁,θ₂, . . . ,θ_(n)},

-   -   where    -   θ—frequency of use of the application,    -   θ₁—frequency of launching the application from the moment of its        installation in the computer system until the moment of        performing the antivirus scan of the application,    -   θ₂—frequency of calling of API functions of the operating system        by the application during its running on the computer system,    -   Θ₃—frequency of modification of files associated with the        application from the moment of their creation in the computer        system until the moment of performing the antivirus scan of the        application,    -   θ₄—frequency of actions carried out with use of interface        elements of the application for transmittal of data to the        application.    -   a scalar product of two vectors may be calculated, where each        vector may be a representation of the frequency of use of the        application, constructed by the method described in the        preceding point;

ω=

θ,

=θ₁×

₁+θ₂×

₂+ . . . +θ_(n)×

_(n),

-   -   where    -   θ—frequency of use of application #1,    -   —frequency of use of application #2,    -   the calculated value may be compared with a selected threshold        value and in the event that the calculated value is greater than        the selected threshold value, the application obtained in step        201 may be determined as being unwanted.

FIG. 3 illustrates a structural diagram for the recreation of theinstallation package from the files and applications installed on auser's computer or computing device according to aspects of theinvention.

The structural diagram for the recreation of the installation packagefrom the files created in the computer system and the applicationsinstalled in the computer system may contain an installation package 300designed to install legitimate and unwanted applications in the computersystem, legitimate files 301, unwanted files 302, legitimateapplications 311, unwanted applications 312, the applications and filesbeing related to each other by direct relations 321 and indirectrelations 322.

Two applications may be related by a direct relation in the event thatthe makeup of one application includes files created during the runningof the second application.

In accordance with aspects of the invention, an application and a filemay be related by a direct relation in the event that the file wascreated during the running of the application.

Two files may be related by a direct relation in the event that one filehas been created during the running of an application whose makeupincludes the second file.

Two applications may be related by an indirect relation in the eventthat both applications use common data in their running. For example,the application Microsoft Word and Microsoft Excel are differentapplications, but during operation they use the same parameters (such asthe path for saving of documents by default, spellcheck settings, and soon), entered in the registry.

Two files may be related by an indirect relation in the event that theapplications whose makeup includes the files may be related by anindirect relation.

An application and a file may be related by an indirect relation in theevent that the application may be related by an indirect relation toanother application whose makeup includes the file.

Since the instant of installation of an unwanted application 312 fromthe installation package 300 a substantial time may pass, after which asearch may be performed for unwanted applications (for example, using anantivirus). Since the unwanted applications 312 may be practically nodifferent than legitimate applications 311, their detection andidentification may present great difficulty to antivirus applications.Even so, the installation package itself 300 from which the unwantedapplications 312 have been installed may, when detected, be identifiedas unwanted based at least on its behavior (using heuristic analysis) oran analysis of its structure (using signature analysis). However, afterperforming its work of installing the applications in the computersystem, the installation package 300 is often removed (automatically orby the user), so that its analysis may become impossible. According toaspects of the invention, by carrying out an analysis of the existingapplications installed in the computer system, containing files relatedto each other by direct relations 321, one may recreate the installationpackage 300 or its behavior in the installation of applications throughrecreating the indirect relations 322. On the basis of an analysis ofthe direct 321 and indirect 322 relations among the files 301, 302created in the computer system and the applications 311, 312 installedand running in the computer system, one may select files andapplications comprising the installation package 300 identical inbehavior or content to the installation package which was used to createthe files 301, 302 in the computer system. On the basis of the resultsof signature or heuristic analysis of the obtained installation package300, it may enable revealing unwanted applications installed by means ofthe installation package 300 in the computer system.

Referring to FIG. 3, for example, in step 1, all related files may bedetected (including both legitimate ones 301 and unwanted ones 302,although their status may not yet be known at the moment of discovery),two files being related if certain of the following conditions arefulfilled:

-   -   the files were created by the same application,    -   the files were downloaded onto the computer from the same        network address;    -   the interval of time between modifications of files is less than        a selected threshold value;    -   the file attributes are similar or identical for both files;    -   the paths to the location of the files fall within the range of        values of the registry keys situated in the same registry        branch;    -   the interval of time between modifications of entries in the        registry containing information on the files is less than a        selected threshold value.

The files associated with an application may be detected:

-   -   by an analysis of the entries in the Windows registry indicating        the paths to the location of files related to the application;        or    -   as a result of searching for files located on the same paths as        the files responsible for the launching of the application.

The interval of time between the installation in the computer system ofa file associated with the application being scanned and a file relatedto it is less than a selected threshold value.

The application creating the files on the computer may be aninstallation program (installer).

In step 2, dependencies may be identified between the detected files andapplications whose makeup includes the files (indirect relations 322),as well as files associated with applications which took part increating the files (direct relations 321).

For example, in step 1 the files “data.dat” and “data.ini” may bedetected, created at the same time, while in step 2 the file “app.zip”may be located, being an archive saving the archived files “data.dat”and “data.ini”. The archive located may also contain the file “app.exe”,which may be absent from the computer system at the time of performanceof step 1. This file may be considered to be related by an indirectrelation 322 to the files “data.dat” and “data.ini”.

Step 2 may continue by iterations until one may discover, for all thefiles discovered in step 1, the applications and files related to thementioned files discovered in step 1. Files created in the computersystem earlier than the other files discovered in step 1 and step 2, aswell as applications installed in the computer system earlier than theother applications discovered in step 2, will be related to theinstallation package 300.

In step 3, an antivirus scan may be performed for the identifiedinstallation package 300. As was mentioned above, the discovery ofunwanted applications by the tools of an antivirus application may causedifficulties, as unwanted applications may be practicallyindistinguishable from legitimate applications—they may not carry outmalicious activity in the computer system. Even so, when unwantedapplications are installed in a computer system, certain actions need tobe performed (for example, so that the user does not cancel theinstallation itself or the conditions of the installation), which canalready be detected by antivirus applications. If the installationpackage 300 as a result of the antivirus scan may be recognized as beingcapable of installing unwanted applications, an analysis may beperformed on all applications installed by it and all files created byit, down to the files which were discovered during step 1 in order toidentify unwanted applications 312. More specifically, the frequency ofuse of the discovered applications and files may be determined, thefrequency of use of an application indicating the number of previouslyestablished actions performed by the application in the computer systemin an established time, and where the frequency may be:

-   -   the frequency of running the application from the moment of its        installation in the computer system until the moment of        performing the antivirus scan of the application;    -   the frequency of calling of API functions of the operating        system by the application during its running on the computer        system;    -   the frequency of modification of files associated wtih the        application from the moment of their creation in the computer        system until the moment of performing the antivirus scan of the        application;    -   the frequency of actions carried out with use of interface        elements of the application for transmittal of data to the        application.

Applications whose frequency of use so determined is less than aselected threshold value may be determined as being unwanted.

For example, two applications have been installed in a computer systemvia the installation package “Adobe Flash Installer”: a plug-in forbrowsers “Adobe Flash Player” and the antivirus “McAfee AntiVirus Plus”.The frequency of use of the plug-in “Adobe Flash Player” amounted to^(˜)100 call-ups a day, whereas the frequency of use of the antivirus“McAfee AntiVirus Plus” was 0.01 call-ups per day. Upon comparing thefrequencies of use with a selected threshold value equal to 0.25, theantivirus “McAfee AntiVirus Plus” may be determined as being unwanted.So low a frequency of use of the antivirus “McAfee AntiVirus Plus” mayindicate that the user is not using the installed antivirus “McAfeeAntiVirus Plus”.

FIG. 4 illustrates an example of a computer system or computing deviceon which the disclosed systems and method may be implemented. As shown,the computer system includes a central processing unit 21, a systemmemory 22 and a system bus 23 connecting the various system components,including the memory associated with the central processing unit 21. Thesystem bus 23 is realized like any bus structure known from the priorart, containing in turn a bus memory or bus memory controller, aperipheral bus and a local bus, which is able to interact with any otherbus architecture. The system memory includes permanent memory (ROM) 24and random-access memory (RAM) 25. The basic input/output system (BIOS)26 includes the basic procedures ensuring the transfer of informationbetween elements of the personal computer 20, such as those at the timeof loading the operating system with the use of the ROM 24.

The personal computer 20, in turn, includes a hard disk 27 for readingand writing of data, a magnetic disk drive 28 for reading and writing onremovable magnetic disks 29 and an optical drive 30 for reading andwriting on removable optical disks 31, such as CD-ROM, DVD-ROM and otheroptical information media. The hard disk 27, the magnetic disk drive 28,and the optical drive 30 are connected to the system bus 23 across thehard disk interface 32, the magnetic disk interface 33 and the opticaldrive interface 34, respectively. The drives and the correspondingcomputer information media are power-independent modules for storage ofcomputer instructions, data structures, program modules and other dataof the personal computer 20.

The present disclosure provides the implementation of a system that usesa hard disk 27, a removable magnetic disk 29 and a removable opticaldisk 31, but it should be understood that it is possible to employ othertypes of computer information media 56 which are able to store data in aform readable by a computer (solid state drives, flash memory cards,digital disks, random-access memory (RAM) and so on), which areconnected to the system bus 23 via the controller 55.

The computer 20 has a file system 36, where the recorded operatingsystem 35 is kept, and also additional program applications 37, otherprogram modules 38 and program data 39. The user is able to entercommands and information into the personal computer 20 by using inputdevices (keyboard 40, mouse 42). Other input devices (not shown) can beused: microphone, joystick, game controller, scanner, and so on. Suchinput devices usually plug into the computer system 20 through a serialport 46, which in turn is connected to the system bus, but they can beconnected in other ways, for example, with the aid of a parallel port, agame port or a universal serial bus (USB). A monitor 47 or other type ofdisplay device is also connected to the system bus 23 across aninterface, such as a video adapter 48. In addition to the monitor 47,the personal computer can be equipped with other peripheral outputdevices (not shown), such as loudspeakers, a printer, and so on.

The personal computer 20 is able to operate in a network environment,using a network connection to one or more remote computers 49. Theremote computer (or computers) 49 are also personal computers or servershaving the majority or all of the aforementioned elements in describingthe nature of a personal computer 20. Other devices can also be presentin the computer network, such as routers, network stations, peer devicesor other network nodes.

Network connections can form a local-area computer network (LAN) 50 anda wide-area computer network (WAN). Such networks are used in corporatecomputer networks and internal company networks, and they generally haveaccess to the Internet. In LAN or WAN networks, the personal computer 20is connected to the local-area network 50 across a network adapter ornetwork interface 51. When networks are used, the personal computer 20can employ a modem 54 or other modules for providing communications witha wide-area computer network such as the Internet. The modem 54, whichis an internal or external device, is connected to the system bus 23 bya serial port 46. It should be noted that the network connections areonly examples and need not depict the exact configuration of thenetwork, i.e., in reality there are other ways of establishing aconnection of one computer to another by technical communicationmodules.

In various aspects, the systems and methods described herein may beimplemented in hardware, software, firmware, or any combination thereof.If implemented in software, the methods may be stored as one or moreinstructions or code on a non-transitory computer-readable medium.Computer-readable medium includes data storage. By way of example, andnot limitation, such computer-readable medium can comprise RAM, ROM,EEPROM, CD-ROM, Flash memory or other types of electric, magnetic, oroptical storage medium, or any other medium that can be used to carry orstore desired program code in the form of instructions or datastructures and that can be accessed by a processor of a general purposecomputer.

In various aspects, the systems and methods described in the presentdisclosure can be addressed in terms of modules. The term “module” asused herein refers to a real-world device, component, or arrangement ofcomponents implemented using hardware, such as by an applicationspecific integrated circuit (ASIC) or field-programmable gate array(FPGA), for example, or as a combination of hardware and software, suchas by a microprocessor system and a set of instructions to implement themodule's functionality, which (while being executed) transform themicroprocessor system into a special-purpose device. A module can alsobe implemented as a combination of the two, with certain functionsfacilitated by hardware alone, and other functions facilitated by acombination of hardware and software. In certain implementations, atleast a portion, and in some cases, all, of a module can be executed onthe processor of a user computer or computing device (such as collectingmodule 111, search module 112 and scanning module 113 described ingreater detail in FIGS. 1-3 above). Accordingly, each module can berealized in a variety of suitable configurations, and should not belimited to any particular implementation exemplified herein.

In the interest of clarity, not all of the routine features of theaspects are disclosed herein. It would be appreciated that in thedevelopment of any actual implementation of the present disclosure,numerous implementation-specific decisions must be made in order toachieve the developer's specific goals, and these specific goals willvary for different implementations and different developers. It isunderstood that such a development effort might be complex andtime-consuming, but would nevertheless be a routine undertaking ofengineering for those of ordinary skill in the art, having the benefitof this disclosure.

Furthermore, it is to be understood that the phraseology or terminologyused herein is for the purpose of description and not of restriction,such that the terminology or phraseology of the present specification isto be interpreted by the skilled in the art in light of the teachingsand guidance presented herein, in combination with the knowledge of theskilled in the relevant art(s). Moreover, it is not intended for anyterm in the specification or claims to be ascribed an uncommon orspecial meaning unless explicitly set forth as such.

The various aspects disclosed herein encompass present and future knownequivalents to the known modules referred to herein by way ofillustration. Moreover, while aspects and applications have been shownand described, it would be apparent to those skilled in the art havingthe benefit of this disclosure that many more modifications thanmentioned above are possible without departing from the inventiveconcepts disclosed herein.

1. A computer-implemented method of detecting one or more unwanted applications installed on a computing device, the method comprising: obtaining, via a processor of the computing device, information relating to a first application installed on the computing device; detecting a first file associated with the first application; identifying a second file installed on the computing deive and related to the first file based at least upon selected conditions; identifying a second application installed on the computing device using at least one of the first and second files; determining a frequency of use for each of the first and second applications; and determining whether the first application is an unwanted application based on the frequency of use for each of the first and second applications.
 2. The computer-implemented method of claim 1, wherein the selected conditions comprise at least two of: the first and second files were created by a same application; the first and second files were loaded onto the computing device from a same network address; an interval of time between modifications of the first and second files is less than a selected threshold value; and the first and second files have identical or similar attributes or data.
 3. The computer-implemented method of claim 2, wherein the selected threshold value comprises at least one of: under 1 second; from 1 second to 1 minute; or from 1 minute to 10 minutes.
 4. The computer-implemented method of claim 1, wherein detecting the first file associated with the first application comprises: analyzing entries in a Windows registry indicating paths to locations of files related to the first application; and identifying the first file which is located on a same path as at least one file responsible for a launching of the first application.
 5. The computer-implemented method of claim 2, further comprising determining the identical or similar attributes or data of the first and second files by at least: identifying a set of characteristics shared by the first and second files; determining a N-dimensional vector for each of the set of characteristics; and determining a degree of similarity between the first and second files based at least on a scalar product of two N-dimensional vectors.
 6. The computer-implemented method of claim 1, wherein identifying the second application installed on the computing device using at least one of the first and second files based upon at least one of: information stored in a registry branch for identifying applications installed on the computing device; paths to the first and second files associated with each corresponding application; and rules for launching each application installed on the computing device.
 7. The computer-implemented method of claim 1, wherein determining the frequency of use for each of the first and second applications comprises determining a frequency of at least one of: running each application from installation in the computing device until an antivirus scan of each application; calling of application-programming interface (API) functions of an operating system of the computing device by each application; modification of files associated with each application from installation in the computing device until an antivirus scan of each application; or actions carried out with use of interface elements of each application for data transmission to each application.
 8. A system for detecting one or more unwanted applications installed on a computing device, comprising: at least one processor configured to: obtain information relating to a first application installed on the computing device; detect a first file associated with the first application; identify a second file being related to the first file based at least upon selected conditions; identify a second application installed on the computing device using at least one of the first and second files; determine a frequency of use for each of the first and second applications; and determine whether the first application is an unwanted application based on the frequency of use for each of the first and second applications.
 9. The system of claim 8, wherein the selected conditions comprise at least two of: the first and second files were created by a same application; the first and second files were loaded onto the computing device from a same network address; an interval of time between modifications of the first and second files is less than a selected threshold value; and the first and second files have identical or similar attributes or data.
 10. The system of claim 9, wherein the selected threshold value comprises at least one of: under 1 second; from 1 second to 1 minute; or from 1 minute to 10 minutes.
 11. The system of claim 8, wherein, to detect the first file associated with the first application, the processor is further configured to: analyze entries in a Windows registry indicating paths to locations of files related to the first application; and identify the first file which is located on a same path as at least one file responsible for a launching of the first application.
 12. The system of claim 9, wherein the processor is further configured to determine the identical or similar attributes or data of the first and second files by at least: identifying a set of characteristics shared by the first and second files; determining a N-dimensional vector for each of the set of characteristics; and determining a degree of similarity between the first and second files based at least on a scalar product of two N-dimensional vectors.
 13. The system of claim 8, wherein the processor is configured to identify the second application installed on the computing device using at least one of the first and second files based upon at least one of: information stored in a registry branch for identifying applications installed on the computing device; paths to the first and second files associated with each corresponding application; and rules for launching each application installed on the computing device.
 14. The system of claim 8, wherein, to determine the frequency of use for each of the first and second applications, the processor is further configured to determine a frequency of at least one of: running each application from installation in the computing device until an antivirus scan of each application; calling of application-programming interface (API) functions of an operating system of the computing device by each application; modification of files associated with each application from installation in the computing device until an antivirus scan of each application; or actions carried out with use of interface elements of each application for data transmission to each application.
 15. A non-transitory computer readable medium storing computer executable codes for causing at least one computer to: obtain, via a processor of the at least one computer, information relating to a first application installed on the at least one computer; detect a first file associated with the first application; identify a second file being related to the first file based at least upon selected conditions; identify a second application installed on the at least one computer using at least one of the first and second files; determine a frequency of use for each of the first and second applications; and determine whether the first application is an unwanted application based on the frequency of use for each of the first and second applications.
 16. The computer readable medium of claim 15, wherein the selected conditions comprise at least two of: the first and second files were created by a same application; the first and second files were loaded onto the computing device from a same network address; an interval of time between modifications of the first and second files is less than a selected threshold value; and the first and second files have identical or similar attributes or data.
 17. The computer readable medium of claim 15, wherein the codes for causing the at least one computer to detect the first file associated with the first application comprise codes for: analyzing entries in a Windows registry indicating paths to locations of files related to the first application; and identifying the first file which is located on a same path as at least one file responsible for a launching of the first application.
 18. The computer readable medium of claim 16, further comprising codes for causing the at least one computer to determine the identical or similar attributes or data of the first and second files by at least: identifying a set of characteristics shared by the first and second files; determining a N-dimensional vector for each of the set of characteristics; and determining a degree of similarity between the first and second files based at least on a scalar product of two N-dimensional vectors.
 19. The computer readable medium of claim 15, wherein the codes for causing the at least one computer to identify the second application are based upon at least one of: information stored in a registry branch for identifying applications installed on the computing device; paths to the first and second files associated with each corresponding application; and rules for launching each application installed on the computing device.
 20. The computer readable medium of claim 15, wherein the codes for causing the at least one computer to determine the frequency of use for each of the first and second applications comprise code for determining a frequency of at least one of: running each application from installation in the computing device until an antivirus scan of each application; calling of application-programming interface (API) functions of an operating system of the computing device by each application; modification of files associated with each application from installation in the computing device until an antivirus scan of each application; or actions carried out with use of interface elements of each application for data transmission to each application. 